﻿
namespace Neo4jConnect
{
    public static class GraphDatabaseServiceExtensions
    {
        public static Node CreateNode(this IGraphDatabaseService graphDatabaseService)
        {
            return graphDatabaseService.CreateNode<Node>();
        }

        public static Node GetNode(this IGraphDatabaseService graphDatabaseService, ulong nodeId)
        {
            return graphDatabaseService.GetNode<Node>(nodeId);
        }  
    }
}
